package com.blb.educourseservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.common.entity.Course;

import java.util.List;

public interface CourseService extends IService<Course> {

    List<Course> getAllCourses();

    Course getCourseById(Long id);

    Course addCourseSales(Long id,Integer sales);
}
